package cn.jiyun.service;

import cn.jiyun.page.PageResult;
import cn.jiyun.page.QueryPageBean;
import cn.jiyun.pojo.Constractor;
import cn.jiyun.pojo.Project;

import java.util.List;
import java.util.Map;

public interface ConstractorService {
    int add(Map<String,String> constractor);

    PageResult findAll(QueryPageBean queryPageBean);

    int update(Constractor constractor);

    int delete(Integer did);

    Constractor findById(Integer did);

    List<Project> findProjectList(Integer did);

    List<Project> findProjectList2();
}
